<template>
  <!-- 编辑弹出框 -->
    <el-dialog title="编辑"  width="30%">
      <el-form ref="form" :model="form" label-width="70px">
        <el-form-item label="用户名">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="地址">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
      </el-form>
      <span slot="footer" class="dialog-footer">
        <el-button >取 消</el-button>
        <el-button type="primary" @click="saveEdit">确 定</el-button>
      </span>
    </el-dialog>
</template>

<script>
export default {
  data(){
    return {
      form:{
        name:"",
        address:""
      }
    }
  },
  methods:{
    saveEdit(){
      
    }
  }
}
</script>

